package com.dynabook.ems.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dynabook.ems.model.dto.CategoryListDTO;
import com.dynabook.ems.model.dto.CategoryOptions;
import com.dynabook.ems.model.entity.EmsCategory;
import com.dynabook.ems.model.vo.CategoryMachine;

import java.util.List;

/**
* @author tester
* @description 针对表【ems_category】的数据库操作Service
* @createDate 2025-06-24 09:03:44
*/
public interface EmsCategoryService extends IService<EmsCategory> {

    CategoryMachine getCategoryByItemCode(String itemCode);

    Page<EmsCategory> getEmsCategoryList(CategoryListDTO categoryListDTO);

    Boolean updateItemCode(EmsCategory emsCategory);

    EmsCategory getItemCode(String id);

    List<CategoryOptions> getCategory();

    List<CategoryOptions> getDetailCategory(String categoryName);
}
